package com.groot.medical.dao;

import java.util.List;

import com.groot.medical.entity.RuralInstitution;

public interface InstitutionDao {
	/**
	 * 查询所有农合机构总数
	 * @return
	 */
	int getAllInstitutionCount();
	/**
	 * 分页查询农合机构
	 * @param startIndex
	 * @param pageSize
	 * @return
	 */
	List<RuralInstitution> findInstitutionCByPage(int startIndex, int pageSize);
	/**
	 * 添加农合机构信息
	 * @param institution
	 * @return
	 */
	int addInstitutionInfo(RuralInstitution institution);
	
	RuralInstitution findInstitutionInfoById(String id);
	
	void editInstitutionInfo(RuralInstitution institution);

}
